package com.liangwj.springbootweb.result;

import lombok.Data;

/**
 * TODO:统一定义返回的JSON对象
 * @author Liangwenjun
 * @date 2018-12-12
 * @version 1.0
 */
@Data
public class ErrorInfo<T> {

    public static final Integer OK = 0;

    public static final Integer ERROR = 100;

    private Integer code;
    private String message;
    private String url;
    private T data;


}
